import request from '@/utils/request'

//获取相关问题列表
export function getTbQaList(data) {
    return request({
        method: 'post',
        url: 'tbQa/queryPageList',
		headers: {
			userButton: '0fcc00fe591b4c64affc4fb3fd491b54'
		},
        data,
    })
}

//添加相关问题
export function addedTbQa(data) {
    return request({
        method: 'post',
        url: 'tbQa/add',
		headers: {
			userButton: 'ad6060a5909741bea8c83537bbf9bdf9'
		},
        data,
    })
}

//修改相关问题
export function updateTbQa(data) {
    return request({
        method: 'post',
        url: 'tbQa/update',
		headers: {
			userButton: '3f3c3497faf94305b7592c9a4a43ecb1'
		},
        data,
    })
}

//删除相关问题
export function deleteTbQa(id) {
    return request({
        method: 'get',
        url: 'tbQa/delete/' + id,
		headers: {
			userButton: '21a13aec967d4eb9881b09f5fdab952d'
		},
    })
}

export function batchDeleteTbQa(data) {
    return request({
        method: 'post',
        url: 'tbQa/batchDelete',
		headers: {
			userButton: '21a13aec967d4eb9881b09f5fdab952d'
		},
        data,
    })
}

//获取相关问题详情
export function queryTbQa(id) {
    return request({
        method: 'get',
        url: 'tbQa/query/' + id,
		headers: {
			userButton: 'b8263b8735f34c25a2502972fba9aa28'
		}
    })
}